

package cn.shengchao.examstar.distribute.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * @program: examstarapi
 * @description: 订单分销任务创建
 * @author: Xiong weiqiang
 * @create: 2025-03-28 14:23
 */
public class OrderTaskCreateEvent extends ApplicationEvent {
    @Setter
    @Getter
    private Long taskId;
    @Setter
    @Getter
    private Long orderId;

    public OrderTaskCreateEvent(Object source, Long taskId, Long orderId) {
        super(source);
        this.orderId = orderId;
        this.taskId = taskId;
    }
}